<template>
	<view class="container">
		<uv-navbar title="我的购物车" :autoBack="false" :fixed="false" titleWidth="300rpx">
			<template v-slot:left>
				<view class="uv-nav-slot" v-if="selectedIdsArray.length">
					<uv-icon name="trash" size="22" @click="$emit('delClick')"></uv-icon>
				</view>
			</template>
		</uv-navbar>
	</view>
</template>

<script setup>
	defineProps({
		selectedIdsArray: {
			type: Array,
			default: () => []
		}
	})
</script>

<style lang="scss" scoped>
</style>